package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.math.BigDecimal;
import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.SaleRebatesRulesExample.E_CONTINUE_PROPORTION;
import static org.jsola.hr.example.SaleRebatesRulesExample.E_NEW_PROPORTION;
import static org.jsola.hr.example.SaleRebatesRulesExample.E_REGION;
import static org.jsola.hr.example.SaleRebatesRulesExample.E_REMARK;
import static org.jsola.hr.example.SaleRebatesRulesExample.E_RULES_NAME;
import static org.jsola.hr.example.SaleRebatesRulesExample.E_SUBJECT_TYPE;
import static org.jsola.hr.example.SaleRebatesRulesExample.N_CONTINUE_PROPORTION;
import static org.jsola.hr.example.SaleRebatesRulesExample.N_NEW_PROPORTION;
import static org.jsola.hr.example.SaleRebatesRulesExample.N_REGION;
import static org.jsola.hr.example.SaleRebatesRulesExample.N_REMARK;
import static org.jsola.hr.example.SaleRebatesRulesExample.N_RULES_NAME;
import static org.jsola.hr.example.SaleRebatesRulesExample.N_SUBJECT_TYPE;

/**
 * 返费规则
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【返费规则】详情展示对象")
@Data
public class SaleRebatesRulesVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_RULES_NAME, example = E_RULES_NAME)
    private String rulesName;

    @ApiModelProperty(notes = N_SUBJECT_TYPE, example = E_SUBJECT_TYPE)
    private String subjectType;

    @ApiModelProperty(notes = N_REGION, example = E_REGION)
    private String region;

    @ApiModelProperty(notes = N_NEW_PROPORTION, example = E_NEW_PROPORTION)
    private BigDecimal newProportion;

    @ApiModelProperty(notes = N_CONTINUE_PROPORTION, example = E_CONTINUE_PROPORTION)
    private BigDecimal continueProportion;

    @ApiModelProperty(notes = N_REMARK, example = E_REMARK)
    private String remark;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

